<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <title>邀请列表</title>
</head>
<body pname="<%=basePath%>">
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header" style="display: none;">邀请列表
                        <div style="float: right">
                            <a href="${param.hrefUrl}" class="layui-btn layui-btn-sm" style="margin-top: 6px;">返回</a>
                        </div>
                    </div>

                    <table class="layui-hide" id="data-table" lay-filter="data-table"></table>

                    <script type="text/html" id="data-table-toolbar">
                        <div class="layui">
                            <div class="layui-condition">
                                <label>邀请者id：</label>
                                <div class="layui-inline" style="width: 110px;">
                                    <input type="text" id="inviteUserId" value="${param.inviteUserId}" placeholder="请输入邀请者id" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>被邀请者id：</label>
                                <div class="layui-inline" style="width: 130px;">
                                    <input type="text" id="userId" placeholder="请输入被邀请者id" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>类型：</label>
                                <div class="layui-inline" style="width: 100px;">
                                    <select id="type">
                                        <option value="">全部</option>
                                        <option value="1">用户邀请</option>
                                        <option value="2">渠道邀请</option>
                                        <option value="3">邀请渠道</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-condition">
                                <label>时间：</label>
                                <div class="layui-inline" style="width: 180px;">
                                    <input type="text" class="layui-input" id="time" placeholder=" - " autocomplete="off">
                                </div>
                            </div>
                            <div class="layui-condition">
                                <button type="button" class="layui-btn" id="search" lay-event="search">
                                    <i class="layui-icon">&#xe615;</i>搜索
                                </button>
                            </div>
                        </div>
                    </script>

                    <script type="text/html" id="isHostTpl">
                        {{# if(d.isHost == 0){ }}
                            用户
                        {{# }else{ }}
                            主播
                        {{# } }}
                    </script>
                    <script type="text/html" id="genderTpl">
                        {{# if(d.gender == 0){ }}
                            女
                        {{# }else if(d.gender == 1){ }}
                            男
                        {{# }else{ }}
                            --
                        {{# } }}
                    </script>
                    <script type="text/html" id="typeTpl">
                        {{# if(d.type == 1){ }}
                            用户邀请
                        {{# }else if(d.type == 2){ }}
                            渠道邀请
                        {{# }else if(d.type == 3){ }}
                            邀请渠道
                        {{# }else{ }}
                            其他
                        {{# } }}
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="<%=path%>/js/usermanage/invite/list.js?v=1.1.5"></script>
</body>
</html>
